package com.zhouyilin.bigevent2.service;

import com.zhouyilin.bigevent2.mapper.UserMapper;
import com.zhouyilin.bigevent2.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;

public interface UserService {



    User findByUserName(String username);
//   根据username查用户
    
//注册
    void register(String username, String password);
//更新
    void update(User user);
//更新头像
    void updateAvatar(String avatarUrl);
//修改密码
    void updatePwd(String newPwd);
}
